@charset "utf-8";
@font-face {
    /* font-properties */
    font-family: chinesefonts;
    src: url('../font/古典明朝体.otf'), url('../font/古典明朝体.ttf'), url('../font/古典明朝体.eot');
    /* IE9 */
}

@font-face {
    /* font-properties */
    font-family: optima;
    src: url('../font/Optima.ttf'), url('../font/Optima.otf'), url('../font/Optima.eot');
    /* IE9 */
}

* {
    margin: 0px;
    padding: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body,
html {
    font-size: 100%;
    padding: 0;
    margin: 0;
}

body {
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 1px;
}

a,
button,
input {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    outline: none;
}

button {
    background: transparent;
    border-radius: 0;
    border: 0;
    padding: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    user-select: none;
}

img::selection {
    background: none;
    text-shadow: none;
}

#nav ul li a::selection {
    background: none;
    text-shadow: none;
}

.zcool a::selection {
    background: #000;
    color: #fff;
    text-shadow: none;
}

span::selection {
    background: #000;
    color: #fff;
    text-shadow: none;
}

#homepage {
    width: 100%;
    height: 100%;
    text-align: center;
}

#web_bg img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 1200px;
    z-index: -9999;
    zoom: 1;
    background-color: #fff;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    -webkit-background-size: cover !important;
    -o-background-size: cover !important;
    background-position: center 0 !important;
    text-align: center !important;
}

#phone_bg {
    display: none;
    height: 100%;
}

#floating {
    float: left;
    width: 100%;
    min-width: 1200px;
}

#ship {
    left: 55%;
    bottom: -100px;
    position: absolute;
}

#ship {
    animation: myfirst 40s infinite;
    -moz-animation: myfirst 40s infinite;
    /* Firefox */
    -webkit-animation: myfirst 40s infinite;
    /* Safari 和 Chrome */
    -o-animation: myfirst 40s infinite;
    /* Opera */
}

@keyframes myfirst {
    0% {
        left: 35%;
        bottom: -100px;
    }
    50% {
        left: 65%;
        margin-left: -291px;
        bottom: -100px;
    }
    100% {
        left: 35%;
        bottom: -100px;
    }
}

@-moz-keyframes myfirst
/* Firefox */

{
    0% {
        left: 35%;
        bottom: -100px;
    }
    50% {
        left: 65%;
        margin-left: -291px;
        bottom: -100px;
    }
    100% {
        left: 35%;
        bottom: -100px;
    }
}

@-webkit-keyframes myfirst
/* Safari 和 Chrome */

{
    0% {
        left: 35%;
        bottom: -100px;
    }
    50% {
        left: 65%;
        margin-left: -291px;
        bottom: -100px;
    }
    100% {
        left: 35%;
        bottom: -100px;
    }
}

@-o-keyframes myfirst
/* Opera */

{
    0% {
        left: 35%;
        bottom: -100px;
    }
    50% {
        left: 65%;
        margin-left: -291px;
        bottom: -100px;
    }
    100% {
        left: 35%;
        bottom: -100px;
    }
}

@media (max-width:768px) {
    #homepage {
        min-width: 320px !important;
    }
    #web_bg img {
        display: none;
    }
    #phone_bg {
        display: block;
    }
    #phone_bg img {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: -9999;
    }
}